<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Polls</title>
    <link rel="stylesheet" href="{% static 'css/style1.css' %}">
</head>
<body>
    <h1>Welcome to the Polls App</h1>
    <ul>
        {% if latest_question_list %}
            {% for question in latest_question_list %}
                <li><a href="{% url 'polls:detail' question.id %}">{{ question.question_text }}</a></li>
            {% endfor %}
        {% else %}
            <li>No polls are available.</li>
        {% endif %}
    </ul>
</body>
</html>